package com.sms.graduate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sms.graduate.entity.SmsDictionary;


public interface SmsDictionaryService extends IService<SmsDictionary> {

    /**
     * 通过代码和范围查询名称
     * @param code
     * @param range
     * @return
     */
    String selectClass(String code,Integer range);

    /**
     * 通过名称和范围查询code
     * @param value
     * @param scope
     * @return
     */
    String selectCode(String value,Integer scope);
}

